css: Don't infloop when parsing broken borders
authorBenjamin Otte <otte@redhat.com>
Wed, 30 Jul 2014 16:23:20 +0000 (18:23 +0200)
committerBenjamin Otte <otte@redhat.com>
Thu, 31 Jul 2014 08:03:18 +0000 (10:03 +0200)
commit5f5d3a9d820004e88b43ff20884d604b4620e47e
tree9aec2eed1041c371785e72b7d1a1790a03e510b5
parent83c9fe109ea705fc6beabb561658aa08432ae0cf
css: Don't infloop when parsing broken borders

There was an infinite loop when parsing invalid text after having parsed
a color in the border shorthand. See attached testcase for an example.
gtk/gtkcssshorthandpropertyimpl.c
testsuite/css/parser/Makefile.am
testsuite/css/parser/border-infloop-3.12.css [new file with mode: 0644]
testsuite/css/parser/border-infloop-3.12.errors [new file with mode: 0644]
testsuite/css/parser/border-infloop-3.12.ref.css [new file with mode: 0644]